 /* Block: header */
.header {
    position: relative;
}

/* Element: header__top-bar */
.header__top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 40px;
    background-color: #eff5fb;
    padding-right: 40px;
    gap: 25px;
}

/* Element: header__top-bar-link */
.header__top-bar-link {
    font-size: 16px;
    color: #555555;
    cursor: pointer;
}

/* Modifier: header__top-bar-link--search */
.header__top-bar-link--search {
    width: 200px;
    display: flex;
    align-items: center;
}

/* Element: header__main */
.header__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    width: 90%;
    margin: 0 auto;
}

/* Element: header__logo */
.header__logo {
    height: 72px;
    display: flex;
    align-items: center;
}

/* Element: header__logo-img */
.header__logo-img {
    /* Image size handled via media queries */
}

/* Element: header__nav */
.header__nav {
    display: flex;
    justify-content: space-between;
    flex: 1;
    height: 90px;
    line-height: 90px;
    margin: 0 5%;
}

/* Element: header__nav-item */
.header__nav-item {
    height: 100%;
    cursor: pointer;
}

/* Element: header__nav-item-text */
.header__nav-item-text {
    font-size: 20px;
    color: #555555;
    font-weight: 400;
}

/* Modifier: header__nav-item--active, header__nav-item:hover */
.header__nav-item:hover,
.header__nav-item--active {
    color: #135b9f;
    border-bottom: 3px solid #135b9f;
}

/* Element: header__submenu */
.header__submenu {
    position: absolute;
    top: 90px;
    right: -6%;
    width: 112%;
    height: 100px;
    background-color: rgba(19, 91, 159, 0.47);
    display: none;
    z-index: 999;
}

/* Modifier: header__nav-item:hover .header__submenu */
.header__nav-item:hover .header__submenu {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Element: header__submenu-item */
.header__submenu-item {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    height: 100%;
}

/* Modifier: header__submenu-item:hover */
.header__submenu-item:hover {
    border-bottom: 3px solid #ffffff;
}

/* Element: header__submenu-divider */
.header__submenu-divider {
    width: 1px;
    height: 30px;
    background: #ffffff;
    margin: 0 50px;
}

/* Element: header__subsubmenu */
.header__subsubmenu {
    position: absolute;
    top: 190px;
    right: -6%;
    width: 112%;
    height: 100px;
    background-color: rgba(19, 91, 159, 0.47);
    display: none;
    z-index: 999;
}

/* Modifier: header__nav-item:hover .header__subsubmenu */
.header__nav-item:hover .header__subsubmenu {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Element: header__subsubmenu-item */
.header__subsubmenu-item {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    height: 100%;
}

/* Modifier: header__subsubmenu-item:hover */
.header__subsubmenu-item:hover {
    border-bottom: 3px solid #ffffff;
}

/* Element: header__subsubmenu-divider */
.header__subsubmenu-divider {
    width: 1px;
    height: 30px;
    background: #ffffff;
    margin: 0 50px;
}

/* Responsive Design */
@media screen and (min-width: 1000px) and (max-width: 1279px) {
    .header__logo-img {
        width: 125px;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1439px) {
    .header__logo-img {
        width: 260px;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1679px) {
    .header__logo-img {
        width: 400px;
    }
}

@media screen and (min-width: 1680px) {
    .header__logo-img {
        height: 100%;
    }
}
